// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;

namespace Examples.Indices
{
	public class GetIndexTemplatePage : ExampleBase
	{
		[U(Skip = "Example not implemented")]
		[Description("indices/get-index-template.asciidoc:31")]
		public void Line31()
		{
			// tag::02f65c6bab8f40bf3ce18160623d1870[]
			var response0 = new SearchResponse<object>();
			// end::02f65c6bab8f40bf3ce18160623d1870[]

			response0.MatchesExample(@"GET /_template/template_1");
		}

		[U(Skip = "Example not implemented")]
		[Description("indices/get-index-template.asciidoc:69")]
		public void Line69()
		{
			// tag::24aee6033bf77a68ced74e3fd9d34283[]
			var response0 = new SearchResponse<object>();
			// end::24aee6033bf77a68ced74e3fd9d34283[]

			response0.MatchesExample(@"GET /_template/template_1,template_2");
		}

		[U(Skip = "Example not implemented")]
		[Description("indices/get-index-template.asciidoc:78")]
		public void Line78()
		{
			// tag::ba6040de55afb2c8fb9e5b24bb038820[]
			var response0 = new SearchResponse<object>();
			// end::ba6040de55afb2c8fb9e5b24bb038820[]

			response0.MatchesExample(@"GET /_template/temp*");
		}

		[U(Skip = "Example not implemented")]
		[Description("indices/get-index-template.asciidoc:87")]
		public void Line87()
		{
			// tag::fd2d289e6b725fcc3cbe8fe7ffe02ea0[]
			var response0 = new SearchResponse<object>();
			// end::fd2d289e6b725fcc3cbe8fe7ffe02ea0[]

			response0.MatchesExample(@"GET /_template");
		}
	}
}
